package com.pandora.credit.service;

import com.pandora.credit.dto.response.ShareResponse;
import com.pandora.credit.entity.Share;

import java.util.List;

/**
 * @author developer
 */
public interface ShareService {

    /**
     * getByPageValid
     * @param pageId pageId
     * @param valid valid
     * @return ShareList
     */
    List<Share> getByPageValid(long pageId, int valid);

    /**
     * doGetShare
     * @param pageId pageId
     * @return ShareResponse
     */
    ShareResponse doGetShare(long pageId);

}
